package drds.binlog.sink.exception;

import drds.binlog.common.BinlogException;


public class BinlogSinkException extends BinlogException
{

    private static final long serialVersionUID = -7288830284122672209L;

    public BinlogSinkException(String errorCode)
    {
        super(errorCode);
    }

    public BinlogSinkException(String errorCode, Throwable cause)
    {
        super(errorCode, cause);
    }

    public BinlogSinkException(String errorCode, String errorDesc)
    {
        super(errorCode + ":" + errorDesc);
    }

    public BinlogSinkException(String errorCode, String errorDesc, Throwable cause)
    {
        super(errorCode + ":" + errorDesc, cause);
    }

    public BinlogSinkException(Throwable cause)
    {
        super(cause);
    }

}
